package model

import "jgt-oper/src/schema"

// IParking 停车位管理接口
type IParking interface {
	Create(parking *schema.Parking) error
	Update(recordID string, info map[string]interface{}) error
	Get(recordID string) (*schema.Parking, error)
	QueryIndex(nodeType int) ([]*schema.Parking, error)
	QueryChildrenNodes(recordID string) ([]*schema.Parking, error)
	QueryParentNodes(recordID string) ([]*schema.Parking, error)
}
